package com.ctshk.rpc.air.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 产品库存售卖记录
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-18
 */
@Data
@ApiModel(value="AirProductSaleRecord对象", description="产品库存售卖记录")
public class AirProductSaleRecordAddReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "产品id")
    private Long productId;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "售卖日期")
    private LocalDate salesDate;

    @ApiModelProperty(value = "0:自营 1:代理商 2:官方渠道 3:第三方")
    private Integer channel;

    @ApiModelProperty(value = "自定Id")
    private Long customId;

    @ApiModelProperty(value = "自定义名称")
    private String customName;

    @ApiModelProperty(value = "已售数量")
    private Integer soldNumber;




}
